package com.zaizai.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单商品对象 order_commdity
 *
 * @author zaiZai
 * @date 2024-10-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderCommdity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 产品名称
     */
    private String commodityName;

    /**
     * 价格
     */
    private Long price;

    /**
     * 规格
     */
    private Long specs;

    /**
     * 购买数量
     */
    private Long buyCount;

    /**
     * 小计
     */
    private Long totalPrice;

}
